package
{
	import flash.display.MovieClip;
	import flash.events.Event;

	public class graficEcuatie extends MovieClip
	{
		var Grafic : grafic = new grafic();
		var Parabola : parabola = new parabola();
		
		public function graficEcuatie()
		{
			this.addEventListener(Event.ADDED_TO_STAGE,initializare);
		}
		
		private function initializare(e:Event):void
		{
			this.addChild(Grafic);
			this.addChild(Parabola);
		}
		
		public function traseazaGrafic(a:Number, b:Number, c:Number):void
		{
			Parabola.traseazaParabola(Grafic,a,b,c);
		}
	}
}